package com.sgcc.fj.pmos.common.base;

import androidx.lifecycle.LifecycleObserver;

/**
 * @author yinsh
 * @description
 * @date 2020-03-03 11:42
 */
public interface IPresenter<V extends IView> extends LifecycleObserver {
    /**
     * 绑定 View
     *
     * @param view
     */
    void attachView(V view);

    /**
     * 解除 View
     */
    void detachView();
}
